PECheckSQLExpression

Use to check the text of the specified SQL expression for errors. Use this function whenever the SQL expression has been changed and you want to check the formula for syntax errors.

C Syntax
BOOL CRPE_API PECheckSQLExpression (
        short printJob,
        const char FAR *expressionName );
Parameters

printJob

Specifies the print job containing the SQL expression that you want to check.

expressionName

Specifies a pointer to the name of the SQL expression that you want to check.

Returns
Remarks

You must be connected to the database to use this function.

VB Syntax

Declare Function PECheckSQLExpression Lib "crpe32.dll" (ByVal printJob 
As Integer, ByVal expressionName As String) As Integer
Delphi Syntax

function PECheckSQLExpression (
    printJob: smallint;
    const expressionName: PChar
    ): Bool stdcall;
PEClearParameterCurrentValuesAndRanges

Use PEClearParameterCurrentValuesAndRanges to clear the specified parameter field of all current values and ranges.

C Syntax
BOOL CRPE_API PEClearParameterCurrentValuesAndRanges (
        short printJob,
        const char FAR *parameterFieldName,
        const char FAR *reportName );
Parameters

printJob

Specifies the print job for which you want to clear specified parameter fields.

parameterField
Name

Specifies a pointer to the string containing the parameter field name.

reportName

Specifies a pointer to the string containing the report name. See Remarks below

Returns
VB Syntax

Declare Function PEClearParameterCurrentValuesAndRanges Lib "crpe32.dll" 
_
    ( ByVal printJob As Integer, ByVal parameterFieldName As String, _
    ByVal reportName As String ) As Integer
Delphi Syntax
function PEClearParameterCurrentValuesAndRanges (
    printJob: smallint;
    const parameterFieldName: PChar;
    const reportName: PChar
    ): BOOL stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com